package com.xiaoyi.system.fegin;

import com.xiaoyi.system.fegin.fallback.UserServiceFallbackImpl;
import com.xiaoyi.system.model.vo.SysUserVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;


//@FeignClient(name = "", fallback = UserServiceFallbackImpl.class)
public interface UserService {

    @GetMapping("/user/findUserById/{id}")
    SysUserVO findUserById(@PathVariable("id") String userId);
}
